using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Sinacor.Servico.Bovespa.Titulo.Service.DataContract.Request
{
    [DataContract(Namespace = "http://www.bovespa.com.br/Sinacor.Servico.Bovespa.Titulo.Service.DataContract.Request")]
	public partial class ConsultarTitulosRequest
	{
		private System.String EmpresaField;

		[DataMember(IsRequired = false, Order = 0)]
		public System.String Empresa
		{
			get { return EmpresaField; }
			set { EmpresaField = value; }
		}

        private Sinacor.Servico.Bovespa.Titulo.Service.DataContract.Enum.TipoMercado? MercadoField;

		[DataMember(IsRequired = false, Order = 1)]
        public Sinacor.Servico.Bovespa.Titulo.Service.DataContract.Enum.TipoMercado? Mercado
		{
			get { return MercadoField; }
			set { MercadoField = value; }
		}

        private System.String ISINField;

        [DataMember(IsRequired = false)]
        public System.String ISIN
        {
            get { return ISINField; }
            set { ISINField = value; }
        }

        private System.String CodigoField;
        [DataMember(IsRequired = false)]
        public System.String Codigo
        {
            get { return CodigoField; }
            set { CodigoField = value; }
        }

        /// <summary>
        /// Data: 17/01/2008
        /// Autor: Diogo Milanez
        /// Obs: Adicao da propriedade
        /// 
        /// Data : 07/02/2008
        /// Autor: Eduardo Sertorio
        /// Obs. : Alterado para aceitar valor nulo e acusar a falta do parametro na consulta.
        /// </summary>
        private System.DateTime? _dataPregao;
        [DataMember(IsRequired = false)]
        public System.DateTime? DataPregao
        {
            get { return _dataPregao; }
            set { _dataPregao = value; }
        }

	}
}
